<?php
/**
 * Created by PhpStorm.
 * User: Qiangguo
 * Date: 14-9-9
 * Time: 下午11:17
 */
namespace User\Model;
use Think\Model;
class UserModel extends Model {
    //定义不同表名
/*    protected $tableName = 'users';
      protected $dbName = 'top';
      protected $trueTableName = 'top_categories'; */
    protected $fields = array('userid', 'pwd','username','authority','_type'=>array('authority'=>'int','userid'=>'varchar','pwd'=>'varchar','username'=>'varchar'));



}

